package org.springblade.modules.auth.utils;

import com.sun.istack.NotNull;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel
@Data
public class WeChatLoginRequest {
	@NotNull
	@ApiModelProperty(value = "第三方平台来源", required = true)
	private String source;
	@NotNull
	@ApiModelProperty(value = "租户ID", required = true)
	private String tenantId;
	@NotNull
	@ApiModelProperty(value = "微信code", required = true)
	private String code;
	@ApiModelProperty(value = "用户非敏感字段")
	private String rawData;
	@ApiModelProperty(value = "签名")
	private String signature;
	@ApiModelProperty(value = "用户敏感字段")
	private String encryptedData;
	@ApiModelProperty(value = "解密向量")
	private String iv;
}

